echo "你想使用笔记本内置麦克风还是外接麦克风？（1=外接，2=内置）"
read -p '==> ' microphonenumber

if [ $microphonenumber = '' ]
then microphonenumber=2
fi

microphone=$(pactl list short sources | grep alsa_input | awk "NR%3==$microphonenumber" | awk '{print $2}')
# echo $microphone

~/proj/scripts/capture_screen_audio.sh $microphone &
